package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/8/2.
 */
@Entity
public class OilPrice {
    @Id
    private long id;
    @Property
    private Date addtime;
    @Property
    private String oiltype;
    @Property
    private Float unitprice;
    @Property
    private Date starttime;
    @Property
    private Date endtime;
    @Property
    private Integer adduserid;
    @Property
    private String addusername;
    @Property
    private int status;
    @Property
    private int isis;

    public int getIsis() {
        return this.isis;
    }

    public void setIsis(int isis) {
        this.isis = isis;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAddusername() {
        return this.addusername;
    }

    public void setAddusername(String addusername) {
        this.addusername = addusername;
    }

    public Integer getAdduserid() {
        return this.adduserid;
    }

    public void setAdduserid(Integer adduserid) {
        this.adduserid = adduserid;
    }

    public Date getEndtime() {
        return this.endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Date getStarttime() {
        return this.starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Float getUnitprice() {
        return this.unitprice;
    }

    public void setUnitprice(Float unitprice) {
        this.unitprice = unitprice;
    }

    public String getOiltype() {
        return this.oiltype;
    }

    public void setOiltype(String oiltype) {
        this.oiltype = oiltype;
    }

    public Date getAddtime() {
        return this.addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Generated(hash = 1240307)
    public OilPrice(long id, Date addtime, String oiltype, Float unitprice,
                    Date starttime, Date endtime, Integer adduserid, String addusername,
                    int status, int isis) {
        this.id = id;
        this.addtime = addtime;
        this.oiltype = oiltype;
        this.unitprice = unitprice;
        this.starttime = starttime;
        this.endtime = endtime;
        this.adduserid = adduserid;
        this.addusername = addusername;
        this.status = status;
        this.isis = isis;
    }

    @Generated(hash = 1691148954)
    public OilPrice() {
    }

}
